Skip to content

added support for apiKey support natively in opensearch config - #1017

Open
Ashwinnbr007 wants to merge 5 commits into
opensearch-project:mainfrom
Ashwinnbr007:feat-#907
Open

added support for apiKey support natively in opensearch config#1017
Ashwinnbr007 wants to merge 5 commits into
opensearch-project:mainfrom
Ashwinnbr007:feat-#907

Conversation

@Ashwinnbr007

Copy link
Copy Markdown
Contributor

Description

Adds support for apiKey based authentication in the native opensearchtransport and opensearch configuration

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].
closes - #907

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.46%. Comparing base (37017fb) to head (9af9f84).

Files with missing lines Patch % Lines
opensearchtransport/opensearchtransport.go 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1017      +/-   ##
==========================================
- Coverage   55.46%   55.46%   -0.01%     
==========================================
  Files         660      660              
  Lines       64324    64329       +5     
==========================================
- Hits        35679    35677       -2     
- Misses      26805    26811       +6     
- Partials     1840     1841       +1     
Flag Coverage Δ
integration 29.54% <50.00%> (+0.01%) ⬆️
unit 54.15% <50.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
opensearch.go 93.11% <100.00%> (+0.02%) ⬆️
opensearchtransport/opensearchtransport.go 80.92% <25.00%> (-0.27%) ⬇️

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sean- sean- added enhancement New feature or request v5 opensearch-go/v5 labels Jul 27, 2026
@sean- sean- linked an issue Jul 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request v5 opensearch-go/v5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] API key auth support

2 participants